#pragma once
#include "enums.h"
#include <memory>
#include "Helper.h"

namespace DXBase
{
	namespace DWrite
	{
		public value struct FontFeature
		{
			FontFeatureTag NameTag;
			uint32 Parameter;
		};

		[Windows::Foundation::Metadata::WebHostHidden]
		public ref class Typography sealed
		{
		internal:
			Microsoft::WRL::ComPtr<IDWriteTypography> pTypo;
			Typography(Microsoft::WRL::ComPtr<IDWriteTypography> typo) : pTypo(typo) {}
		public:
			Typography();
			void AddFontFeature(FontFeature ff);
			FontFeature GetFontFeature(uint32 i);
			property uint32 FontFeatureCount { uint32 get(); }
		};
	}
}